//
//  FourXiangqingViewController.m
//  开心一刻
//
//  Created by 欧阳政 on 16/4/12.
//  Copyright © 2016年 刘洋. All rights reserved.
//

#import "FourXiangqingViewController.h"

@interface FourXiangqingViewController ()
@property(nonatomic,strong)UIWebView *webview1;
@end

@implementation FourXiangqingViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationItem.title = @"详情";
    _webview1 = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, KedWidth, KedHeight - 64)];
    NSURLRequest * requset = [NSURLRequest requestWithURL:[NSURL URLWithString:self.shareUrl]];
        [_webview1 loadRequest:requset];
    [self.view addSubview:_webview1];
    UIView *view2 = [[UIView alloc] initWithFrame:CGRectMake(0, 0, KedHeight, 120)];
    view2.backgroundColor = [UIColor whiteColor];
    [_webview1 addSubview:view2];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
